import request from '@/utils/require'
// request.post()的返回值是promise对象
export const register = data => request.post('h5/user/register', data)

export const login = data => request.post('h5/user/login', data)

export const getUserInfo = () => request.get('h5/user/currentUser')
